import { pbCoder } from "../../../script/common/socket/PbProtoCoder";

export const RoomProto = {
    ROOM_CREATE: 0x0100,
    ROOM_ENTER: 0x0101,
    ROOM_PLAYER_ENTER: 0x0102,
    ROOM_PLAYER_EXIT: 0x0103,
    ROOM_PLAYER_READY: 0x0104,
    ROOM_PLAYER_NOT_READY: 0x0105,
    ROOM_PLAYER_START: 0x0106,
    ROOM_PLAYER_END: 0x0107,
    ROOM_DISMISS: 0x0108,
}

pbCoder.registerSchemas(RoomProto);